import request from "@/utils/request.js";


export function list(){
    return request({
        url:"/userad/us/list",
        method:"post"
    })
}

export function findList(id){
    return request({
        url:"/userad/us/listOrder",
        method:"post",
        params: {
            userId: id
        }
    })
}

export function createOrder(data){
    return request({
        url:"/orders/orders/add",
        method:"post",
        data
    })
}

export function xiadan22(data){
    return request({
        url:"/userad/us/listOrder?id="+id,
        method:"post",
        data:data
    })
}